﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Net.Model.Entities.Enterprises
{
    [SugarTable("AppEnterpriseLicense", TableDescription = "企业授权表")]
    public partial class AppEnterpriseLicense
    {
        public AppEnterpriseLicense(){}

        [Display(Name = "Id")]
        [SugarColumn(ColumnDescription = "Id", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public long Id { get; set; }

        [Display(Name = "企业Id")]
        [SugarColumn(ColumnDescription = "企业Id",IsNullable = false)]
        public long EnterpriseId { get; set; }

        [Display(Name = "授权Id")]
        [SugarColumn(ColumnDescription = "授权Id",IsNullable = false)]
        public long LicenseId { get; set; }

    }
}
